package com.yiboshi.rehrs.domain.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yiboshi.rehrs.domain.entity.SmZhongUser;
import com.yiboshi.rehrs.domain.entity.ZhongUser;
import com.yiboshi.rehrs.domain.entity.ZhongUserImage;
import com.yiboshi.rehrs.param.ZhongReq;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author local
 * @since 2025-03-17
 */
public interface IZhongUserService extends IService<ZhongUser>, AperBaseService<ZhongUser> {

    boolean saveOrUpdateUser(ZhongUser entity);

    boolean saveOrUpdateUserFace(ZhongReq entity);

    ZhongUser one(String account);

    ZhongUser getOne(String account,Integer mode);

    ZhongUser getSmOne(String account);

    ZhongUser getByCode(String userCode,Integer mode);

    void saveOrUpdateUserFace(ZhongUser zhongUser, ZhongUserImage zhongUserImage);

    List<ZhongUser> autoTaskAccount(int autoStatus);

    //今天到期的账号
    List<ZhongUser> todayOutVip(int autoStatus,String agentAccount) ;

    //查询会员包括邀请数量等信息
    SmZhongUser getSmUser(String account);
    //明天到期的账号
    //List<ZhongUser> tomorrowOutVip(int autoStatus);
}
